#include <LEDA/core/string.h>
#include <stdio.h>

using leda::string;

int main( int argc , char *argv[] ){
    string szBuffer_OS , szBuffer_PS;
    fprintf( stdout , "Put the first Origin String in:\n" );
    //szBuffer_OS.read_line();
    fprintf( stdout , "Put the Pattern String in:\n" );
    //szBuffer_PS.read_line();
    int iFindPos;
    //iFindPos = szBuffer_OS.pos( szBuffer_PS );
    if( iFindPos != -1 ){
        fprintf( stdout , "Succeeded in matching,Pattern String found starting with %dth letter." , iFindPos );
    }else{
        fprintf( stdout , "Failed in matching,no such substring found." );
    }
    return 0;
}
